import server from "../utils/request.js";
export function monitor(){
    return server({
        // url:`http://localhost:9999/monitor-server/monitor/list`,
        url:`/monitor-server/monitor/list`,
        method:'GET'
    })
}

export function getStreamList(){
    return server({
        url:`/stream/list`, 
        method:'GET'
    })
}


export function forwardStream(id){
    return server({
        url:`/stream/live/${id}`, 
        method:'GET'
    })
}
export function forwardDefaultStream(){
    return server({
        url:`/stream/live/`, 
        method:'GET'
    })
}